All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.TableView

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Responder
                   |
                   +----com.apple.alpha.app.View
                           |
                           +----com.apple.alpha.app.Control
                                   |
                                   +----com.apple.alpha.app.TableView

public class TableView
extends Control
This class wraps the Objective-C class NSTableView.


Variable Index

 o TableViewColumnDidMoveNotification
 o TableViewColumnDidResizeNotification
 o TableViewSelectionDidChangeNotification
 o TableViewSelectionIsChangingNotification

Constructor Index

 o TableView()
This default constructor is equivalent to Objective-C's [[NSTableView alloc] init].
 o TableView(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o TableView(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o TableView(Rect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.

Method Index

 o addTableColumn(TableColumn)
A wrapper for the - addTableColumn: Objective-C instance method.
 o allowsColumnReordering()
A wrapper for the - allowsColumnReordering Objective-C instance method.
 o allowsColumnResizing()
A wrapper for the - allowsColumnResizing Objective-C instance method.
 o allowsColumnSelection()
A wrapper for the - allowsColumnSelection Objective-C instance method.
 o allowsEmptySelection()
A wrapper for the - allowsEmptySelection Objective-C instance method.
 o allowsMultipleSelection()
A wrapper for the - allowsMultipleSelection Objective-C instance method.
 o autoresizesAllColumnsToFit()
A wrapper for the - autoresizesAllColumnsToFit Objective-C instance method.
 o backgroundColor()
A wrapper for the - backgroundColor Objective-C instance method.
 o clickedColumn()
A wrapper for the - clickedColumn Objective-C instance method.
 o clickedRow()
A wrapper for the - clickedRow Objective-C instance method.
 o columnAtPoint(Point)
A wrapper for the - columnAtPoint: Objective-C instance method.
 o columnsInRect(Rect)
A wrapper for the - columnsInRect: Objective-C instance method.
 o columnWithIdentifier(Object)
A wrapper for the - columnWithIdentifier: Objective-C instance method.
 o cornerView()
A wrapper for the - cornerView Objective-C instance method.
 o dataSource()
A wrapper for the - dataSource Objective-C instance method.
 o delegate()
A wrapper for the - delegate Objective-C instance method.
 o deselectAll(Object)
A wrapper for the - deselectAll: Objective-C instance method.
 o deselectColumn(int)
A wrapper for the - deselectColumn: Objective-C instance method.
 o deselectRow(int)
A wrapper for the - deselectRow: Objective-C instance method.
 o doubleAction()
A wrapper for the - doubleAction Objective-C instance method.
 o drawGridInClipRect(Rect)
A wrapper for the - drawGridInClipRect: Objective-C instance method.
 o drawRow(int, Rect)
A wrapper for the - drawRow:clipRect: Objective-C instance method.
 o drawsGrid()
A wrapper for the - drawsGrid Objective-C instance method.
 o editedColumn()
A wrapper for the - editedColumn Objective-C instance method.
 o editedRow()
A wrapper for the - editedRow Objective-C instance method.
 o editLocation(int, int, Event, boolean)
A wrapper for the - editColumn:row:withEvent:select: Objective-C instance method.
 o frameOfCellAtLocation(int, int)
A wrapper for the - frameOfCellAtColumn:row: Objective-C instance method.
 o gridColor()
A wrapper for the - gridColor Objective-C instance method.
 o headerView()
A wrapper for the - headerView Objective-C instance method.
 o highlightSelectionInClipRect(Rect)
A wrapper for the - highlightSelectionInClipRect: Objective-C instance method.
 o intercellSpacing()
A wrapper for the - intercellSpacing Objective-C instance method.
 o isColumnSelected(int)
A wrapper for the - isColumnSelected: Objective-C instance method.
 o isRowSelected(int)
A wrapper for the - isRowSelected: Objective-C instance method.
 o moveColumnToColumn(int, int)
A wrapper for the - moveColumn:toColumn: Objective-C instance method.
 o noteNumberOfRowsChanged()
A wrapper for the - noteNumberOfRowsChanged Objective-C instance method.
 o numberOfColumns()
A wrapper for the - numberOfColumns Objective-C instance method.
 o numberOfRows()
A wrapper for the - numberOfRows Objective-C instance method.
 o numberOfSelectedColumns()
A wrapper for the - numberOfSelectedColumns Objective-C instance method.
 o numberOfSelectedRows()
A wrapper for the - numberOfSelectedRows Objective-C instance method.
 o rectOfColumn(int)
A wrapper for the - rectOfColumn: Objective-C instance method.
 o rectOfRow(int)
A wrapper for the - rectOfRow: Objective-C instance method.
 o reloadData()
A wrapper for the - reloadData Objective-C instance method.
 o removeTableColumn(TableColumn)
A wrapper for the - removeTableColumn: Objective-C instance method.
 o rowAtPoint(Point)
A wrapper for the - rowAtPoint: Objective-C instance method.
 o rowHeight()
A wrapper for the - rowHeight Objective-C instance method.
 o rowsInRect(Rect)
A wrapper for the - rowsInRect: Objective-C instance method.
 o scrollColumnToVisible(int)
A wrapper for the - scrollColumnToVisible: Objective-C instance method.
 o scrollRowToVisible(int)
A wrapper for the - scrollRowToVisible: Objective-C instance method.
 o selectAll(Object)
A wrapper for the - selectAll: Objective-C instance method.
 o selectColumn(int, boolean)
A wrapper for the - selectColumn:byExtendingSelection: Objective-C instance method.
 o selectedColumn()
A wrapper for the - selectedColumn Objective-C instance method.
 o selectedRow()
A wrapper for the - selectedRow Objective-C instance method.
 o selectRow(int, boolean)
A wrapper for the - selectRow:byExtendingSelection: Objective-C instance method.
 o setAllowsColumnReordering(boolean)
A wrapper for the - setAllowsColumnReordering: Objective-C instance method.
 o setAllowsColumnResizing(boolean)
A wrapper for the - setAllowsColumnResizing: Objective-C instance method.
 o setAllowsColumnSelection(boolean)
A wrapper for the - setAllowsColumnSelection: Objective-C instance method.
 o setAllowsEmptySelection(boolean)
A wrapper for the - setAllowsEmptySelection: Objective-C instance method.
 o setAllowsMultipleSelection(boolean)
A wrapper for the - setAllowsMultipleSelection: Objective-C instance method.
 o setAutoresizesAllColumnsToFit(boolean)
A wrapper for the - setAutoresizesAllColumnsToFit: Objective-C instance method.
 o setBackgroundColor(Color)
A wrapper for the - setBackgroundColor: Objective-C instance method.
 o setCornerView(View)
A wrapper for the - setCornerView: Objective-C instance method.
 o setDataSource(Object)
A wrapper for the - setDataSource: Objective-C instance method.
 o setDelegate(Object)
A wrapper for the - setDelegate: Objective-C instance method.
 o setDoubleAction(Selector)
A wrapper for the - setDoubleAction: Objective-C instance method.
 o setDrawsGrid(boolean)
A wrapper for the - setDrawsGrid: Objective-C instance method.
 o setGridColor(Color)
A wrapper for the - setGridColor: Objective-C instance method.
 o setHeaderView(TableHeaderView)
A wrapper for the - setHeaderView: Objective-C instance method.
 o setIntercellSpacing(Size)
A wrapper for the - setIntercellSpacing: Objective-C instance method.
 o setRowHeight(float)
A wrapper for the - setRowHeight: Objective-C instance method.
 o sizeLastColumnToFit()
A wrapper for the - sizeLastColumnToFit Objective-C instance method.
 o tableColumns()
A wrapper for the - tableColumns Objective-C instance method.
 o tableColumnWithIdentifier(Object)
A wrapper for the - tableColumnWithIdentifier: Objective-C instance method.
 o textDidBeginEditing(Notification)
A wrapper for the - textDidBeginEditing: Objective-C instance method.
 o textDidChange(Notification)
A wrapper for the - textDidChange: Objective-C instance method.
 o textDidEndEditing(Notification)
A wrapper for the - textDidEndEditing: Objective-C instance method.
 o textShouldBeginEditing(Text)
A wrapper for the - textShouldBeginEditing: Objective-C instance method.
 o textShouldEndEditing(Text)
A wrapper for the - textShouldEndEditing: Objective-C instance method.
 o tile()
A wrapper for the - tile Objective-C instance method.

Variables

 o TableViewSelectionDidChangeNotification
 public static final String TableViewSelectionDidChangeNotification
 o TableViewColumnDidMoveNotification
 public static final String TableViewColumnDidMoveNotification
 o TableViewColumnDidResizeNotification
 public static final String TableViewColumnDidResizeNotification
 o TableViewSelectionIsChangingNotification
 public static final String TableViewSelectionIsChangingNotification

Constructors

 o TableView
 protected TableView(boolean shouldAllocate,
                     int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o TableView
 public TableView()
This default constructor is equivalent to Objective-C's [[NSTableView alloc] init].

 o TableView
 public TableView(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o TableView
 public TableView(Rect frameRect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.

Methods

 o setDataSource
 public native void setDataSource(Object aSource)
A wrapper for the - setDataSource: Objective-C instance method.

 o dataSource
 public native Object dataSource()
A wrapper for the - dataSource Objective-C instance method.

 o setDelegate
 public native void setDelegate(Object delegate)
A wrapper for the - setDelegate: Objective-C instance method.

 o delegate
 public native Object delegate()
A wrapper for the - delegate Objective-C instance method.

 o setHeaderView
 public native void setHeaderView(TableHeaderView headerView)
A wrapper for the - setHeaderView: Objective-C instance method.

 o headerView
 public native TableHeaderView headerView()
A wrapper for the - headerView Objective-C instance method.

 o setCornerView
 public native void setCornerView(View cornerView)
A wrapper for the - setCornerView: Objective-C instance method.

 o cornerView
 public native View cornerView()
A wrapper for the - cornerView Objective-C instance method.

 o setAllowsColumnReordering
 public native void setAllowsColumnReordering(boolean flag)
A wrapper for the - setAllowsColumnReordering: Objective-C instance method.

 o allowsColumnReordering
 public native boolean allowsColumnReordering()
A wrapper for the - allowsColumnReordering Objective-C instance method.

 o setAllowsColumnResizing
 public native void setAllowsColumnResizing(boolean flag)
A wrapper for the - setAllowsColumnResizing: Objective-C instance method.

 o allowsColumnResizing
 public native boolean allowsColumnResizing()
A wrapper for the - allowsColumnResizing Objective-C instance method.

 o setAutoresizesAllColumnsToFit
 public native void setAutoresizesAllColumnsToFit(boolean flag)
A wrapper for the - setAutoresizesAllColumnsToFit: Objective-C instance method.

 o autoresizesAllColumnsToFit
 public native boolean autoresizesAllColumnsToFit()
A wrapper for the - autoresizesAllColumnsToFit Objective-C instance method.

 o setDrawsGrid
 public native void setDrawsGrid(boolean flag)
A wrapper for the - setDrawsGrid: Objective-C instance method.

 o drawsGrid
 public native boolean drawsGrid()
A wrapper for the - drawsGrid Objective-C instance method.

 o setIntercellSpacing
 public native void setIntercellSpacing(Size aSize)
A wrapper for the - setIntercellSpacing: Objective-C instance method.

 o intercellSpacing
 public native Size intercellSpacing()
A wrapper for the - intercellSpacing Objective-C instance method.

 o setBackgroundColor
 public native void setBackgroundColor(Color color)
A wrapper for the - setBackgroundColor: Objective-C instance method.

 o backgroundColor
 public native Color backgroundColor()
A wrapper for the - backgroundColor Objective-C instance method.

 o setGridColor
 public native void setGridColor(Color color)
A wrapper for the - setGridColor: Objective-C instance method.

 o gridColor
 public native Color gridColor()
A wrapper for the - gridColor Objective-C instance method.

 o setRowHeight
 public native void setRowHeight(float rowHeight)
A wrapper for the - setRowHeight: Objective-C instance method.

 o rowHeight
 public native float rowHeight()
A wrapper for the - rowHeight Objective-C instance method.

 o tableColumns
 public native Array tableColumns()
A wrapper for the - tableColumns Objective-C instance method.

 o numberOfColumns
 public native int numberOfColumns()
A wrapper for the - numberOfColumns Objective-C instance method.

 o numberOfRows
 public native int numberOfRows()
A wrapper for the - numberOfRows Objective-C instance method.

 o addTableColumn
 public native void addTableColumn(TableColumn column)
A wrapper for the - addTableColumn: Objective-C instance method.

 o removeTableColumn
 public native void removeTableColumn(TableColumn column)
A wrapper for the - removeTableColumn: Objective-C instance method.

 o columnWithIdentifier
 public native int columnWithIdentifier(Object identifier)
A wrapper for the - columnWithIdentifier: Objective-C instance method.

 o tableColumnWithIdentifier
 public native TableColumn tableColumnWithIdentifier(Object identifier)
A wrapper for the - tableColumnWithIdentifier: Objective-C instance method.

 o tile
 public native void tile()
A wrapper for the - tile Objective-C instance method.

 o sizeLastColumnToFit
 public native void sizeLastColumnToFit()
A wrapper for the - sizeLastColumnToFit Objective-C instance method.

 o scrollRowToVisible
 public native void scrollRowToVisible(int row)
A wrapper for the - scrollRowToVisible: Objective-C instance method.

 o scrollColumnToVisible
 public native void scrollColumnToVisible(int column)
A wrapper for the - scrollColumnToVisible: Objective-C instance method.

 o moveColumnToColumn
 public native void moveColumnToColumn(int column,
                                       int newIndex)
A wrapper for the - moveColumn:toColumn: Objective-C instance method.

 o reloadData
 public native void reloadData()
A wrapper for the - reloadData Objective-C instance method.

 o noteNumberOfRowsChanged
 public native void noteNumberOfRowsChanged()
A wrapper for the - noteNumberOfRowsChanged Objective-C instance method.

 o editedColumn
 public native int editedColumn()
A wrapper for the - editedColumn Objective-C instance method.

 o editedRow
 public native int editedRow()
A wrapper for the - editedRow Objective-C instance method.

 o clickedColumn
 public native int clickedColumn()
A wrapper for the - clickedColumn Objective-C instance method.

 o clickedRow
 public native int clickedRow()
A wrapper for the - clickedRow Objective-C instance method.

 o setDoubleAction
 public native void setDoubleAction(Selector aSelector)
A wrapper for the - setDoubleAction: Objective-C instance method.

 o doubleAction
 public native Selector doubleAction()
A wrapper for the - doubleAction Objective-C instance method.

 o setAllowsMultipleSelection
 public native void setAllowsMultipleSelection(boolean flag)
A wrapper for the - setAllowsMultipleSelection: Objective-C instance method.

 o allowsMultipleSelection
 public native boolean allowsMultipleSelection()
A wrapper for the - allowsMultipleSelection Objective-C instance method.

 o setAllowsEmptySelection
 public native void setAllowsEmptySelection(boolean flag)
A wrapper for the - setAllowsEmptySelection: Objective-C instance method.

 o allowsEmptySelection
 public native boolean allowsEmptySelection()
A wrapper for the - allowsEmptySelection Objective-C instance method.

 o setAllowsColumnSelection
 public native void setAllowsColumnSelection(boolean flag)
A wrapper for the - setAllowsColumnSelection: Objective-C instance method.

 o allowsColumnSelection
 public native boolean allowsColumnSelection()
A wrapper for the - allowsColumnSelection Objective-C instance method.

 o selectAll
 public native void selectAll(Object sender)
A wrapper for the - selectAll: Objective-C instance method.

Overrides:
selectAll in class Responder
 o deselectAll
 public native void deselectAll(Object sender)
A wrapper for the - deselectAll: Objective-C instance method.

 o selectColumn
 public native void selectColumn(int column,
                                 boolean extend)
A wrapper for the - selectColumn:byExtendingSelection: Objective-C instance method.

 o selectRow
 public native void selectRow(int row,
                              boolean extend)
A wrapper for the - selectRow:byExtendingSelection: Objective-C instance method.

 o deselectColumn
 public native void deselectColumn(int column)
A wrapper for the - deselectColumn: Objective-C instance method.

 o deselectRow
 public native void deselectRow(int row)
A wrapper for the - deselectRow: Objective-C instance method.

 o selectedColumn
 public native int selectedColumn()
A wrapper for the - selectedColumn Objective-C instance method.

 o selectedRow
 public native int selectedRow()
A wrapper for the - selectedRow Objective-C instance method.

 o isColumnSelected
 public native boolean isColumnSelected(int row)
A wrapper for the - isColumnSelected: Objective-C instance method.

 o isRowSelected
 public native boolean isRowSelected(int row)
A wrapper for the - isRowSelected: Objective-C instance method.

 o numberOfSelectedColumns
 public native int numberOfSelectedColumns()
A wrapper for the - numberOfSelectedColumns Objective-C instance method.

 o numberOfSelectedRows
 public native int numberOfSelectedRows()
A wrapper for the - numberOfSelectedRows Objective-C instance method.

 o rectOfColumn
 public native Rect rectOfColumn(int column)
A wrapper for the - rectOfColumn: Objective-C instance method.

 o rectOfRow
 public native Rect rectOfRow(int row)
A wrapper for the - rectOfRow: Objective-C instance method.

 o columnsInRect
 public native Range columnsInRect(Rect rect)
A wrapper for the - columnsInRect: Objective-C instance method.

 o rowsInRect
 public native Range rowsInRect(Rect rect)
A wrapper for the - rowsInRect: Objective-C instance method.

 o columnAtPoint
 public native int columnAtPoint(Point point)
A wrapper for the - columnAtPoint: Objective-C instance method.

 o rowAtPoint
 public native int rowAtPoint(Point point)
A wrapper for the - rowAtPoint: Objective-C instance method.

 o frameOfCellAtLocation
 public native Rect frameOfCellAtLocation(int column,
                                          int row)
A wrapper for the - frameOfCellAtColumn:row: Objective-C instance method.

 o textShouldBeginEditing
 public native boolean textShouldBeginEditing(Text textObject)
A wrapper for the - textShouldBeginEditing: Objective-C instance method.

 o textShouldEndEditing
 public native boolean textShouldEndEditing(Text textObject)
A wrapper for the - textShouldEndEditing: Objective-C instance method.

 o textDidBeginEditing
 public native void textDidBeginEditing(Notification notification)
A wrapper for the - textDidBeginEditing: Objective-C instance method.

 o textDidEndEditing
 public native void textDidEndEditing(Notification notification)
A wrapper for the - textDidEndEditing: Objective-C instance method.

 o textDidChange
 public native void textDidChange(Notification notification)
A wrapper for the - textDidChange: Objective-C instance method.

 o editLocation
 public native void editLocation(int column,
                                 int row,
                                 Event theEvent,
                                 boolean select)
A wrapper for the - editColumn:row:withEvent:select: Objective-C instance method.

 o drawRow
 public native void drawRow(int row,
                            Rect rect)
A wrapper for the - drawRow:clipRect: Objective-C instance method.

 o highlightSelectionInClipRect
 public native void highlightSelectionInClipRect(Rect rect)
A wrapper for the - highlightSelectionInClipRect: Objective-C instance method.

 o drawGridInClipRect
 public native void drawGridInClipRect(Rect rect)
A wrapper for the - drawGridInClipRect: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index